{extend name="./template/default/pc/pub/base.html" /}
{block name="seo"}
<title>最新免费漫画大全-{$site_name}</title>
<meta property="og:title" content="最新免费漫画大全-{$site_name}"/>

<meta property="og:description" content= "{$site_name}为大家带来最新最全免费漫画大全，这里有超多漫画资源，无论是国产动漫 韩国漫画，耽美漫画，还是恐怖漫画全都免费看，总有一个让你酣畅淋漓" />
<meta content="{$site_name}为大家带来最新最全免费漫画大全，这里有超多漫画资源，无论是国产动漫 韩国漫画，耽美漫画，还是恐怖漫画全都免费看，总有一个让你酣畅淋漓" name="description">

{/block}
{block name="content"}
<section class="dateProgressBar container-fluid">
    <div class="bar-wrap container-fluid">
        <ul class="data-list container">
            {for start="0" end="7"}
            <li class="lidaykey {$day == $i ? 'active' : ''}">
                <a class="bt_daykey" data-val="{$i}">
                    <span class="day"></span>
                    <span class="date"></span>
                </a>
            </li>
            {/for}
        </ul>
    </div>
    <script src="https://lib.baomitu.com/moment.js/2.24.0/moment.min.js"></script>
    <script src="https://lib.baomitu.com/moment.js/2.24.0/locale/zh-cn.js"></script>
    <script>
        $('.bt_daykey').each(function () {
            var day = $(this).attr('data-val');
            $(this).children('.day').html(moment().subtract(day,'days').format('dddd').replace('星期','周'));
            $(this).children('.date').html(moment().subtract(day,'days').format('MMMDo').replace('星期','周'));
            $(this).click(function () {
                var date = moment().subtract(day,'days').format('YYYY-MM-DD');
                location.href = '/{$update_act}?date=' + date + '&day=' + day;
            })
        })
    </script>
</section>
<section class="box container pb40 overflow-Show js_update_mh_list" style="min-height:800px;margin-top: 20px;">
    <header class="box-header"> <i class="icon icon-date" style="width:30px;"> <span class="number">30</span> </i>
        <h1>最近更新</h1>
        <small>
            更新了
            <span class="color-main" id="daykeyupdatecount">若干</span><span id="daykeycontent">本，持续更新中</span>
        </small>
    </header>
    <div class="box-body">
        <ul class="mh-list col7" id="update_30">
            {raccoon:pagedbooks name="pagedBooks" pagesize="28" order="last_time desc"
            where="last_time>=$start_time and last_time<=$end_time"}
            <li>
                <div class="mh-item">
                    <a href="/{$book_ctrl}/{$vo.param}" title="{$vo.book_name}">
                        <p class="mh-cover"  style="background-image: url({$vo.cover_url|get_img_url|default=''})"></p>
                    </a>
                    <div class="mh-item-detali">
                        <h2 class="title">
                            <a href="/{$book_ctrl}/{$vo.param}" title="{$vo.book_name}" style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">
                                {$vo.book_name}
                            </a>
                        </h2>
                        <p class="zl">
                            <span>评分:</span>
                            <span class="mh-star-line star-5"></span>
                        </p>
                        <p class="chapter" style="width: 181px;">
                            {$vo.summary}
                        </p>
                    </div>
                </div>
            </li>
            {/raccoon:pagedbooks}
        </ul>
    </div>
    <footer>
        <div class="page-pagination mt20">
            <ul>
                <div class="pagination">
                    {if $page.last_page > 1}
                    {if $page.current_page == 1}
                    <li><a>&lt;</a></li>
                    {else/}
                    <li><a id="prevPage" href="/{$update_act}?page={$page.current_page-1}{$param}" title="上一页">&lt;</a></li>
                    {/if}

                    {for start="1" end="$page.last_page + 1"}
                    {if $i == $page.current_page }
                    <li><a href="/{$update_act}?page={$i}{$param}" class="active">{$i}</a></li>
                    {elseif ($i > $page.current_page - 4 && $i < $page.current_page + 5)/}
                    <li><a href="/{$update_act}?page={$i}{$param}" title="第{$i}页">{$i}</a></li>
                    {/if}
                    {/for}

                    {if $page.current_page == $page.last_page}
                    <li><a>&gt;</a></li>
                    {else/}
                    <li><a id="nextPage" href="/{$update_act}?page={$page.current_page+1}{$param}" title="下一页">&gt;</a></li>
                    {/if}
                    {/if}
                </div>
            </ul>
        </div>
    </footer>
</section>
{/block}